class Dice extends eui.Component {
    public lab: eui.Label;


    constructor() {
        super();
        this.skinName = 'skins.DiceSkin';
    }

    update() {
        this.lab.text = Math.ceil(Math.random() * 6) + '';
    }
}